<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<style>
    .zhijiao, .dengyao {
        width: 200px;
        height: 200px;
        background-color: aqua;
    }
    .zhijiao {
        background-color: lime;
        /*定点呗 前行后列*/
        clip-path: polygon(0% 0%, 80% 0%,100% 100%,0% 100%);
    }
    .dengyao {
        clip-path: polygon(20px 0%, 180px 0%,100% 100%,0% 100%);
    }
</style>
<body>
<div class="zhijiao"></div>
<div class="dengyao"></div>
</body>
</html>
